package com.tianye.lc;

import android.app.Application;
import android.content.Context;

import com.avos.avoscloud.AVOSCloud;
import com.facebook.drawee.backends.pipeline.Fresco;

/**
 * Created by yangyazhou on 2016/10/26.
 */

public class App extends Application {
    public static Context context;



    @Override
    public void onCreate() {
        super.onCreate();
        context = this;

        //如果使用美国节点，请加上这行代码 AVOSCloud.useAVCloudUS();
        AVOSCloud.initialize(this, "XUIz11ilfr4FuiBBmwxUEUOd-gzGzoHsz", "wdHEQAWXFp3GvuABian1GT26");

        Fresco.initialize(this);
    }
}
